package com.yic.module.wms.convert.itemwarehouse;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.wms.controller.admin.itemwarehouse.vo.*;
import com.yic.module.wms.dal.dataobject.itemwarehouse.ItemWarehouseDO;

/**
 * 产品仓储信息 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ItemWarehouseConvert {

    ItemWarehouseConvert INSTANCE = Mappers.getMapper(ItemWarehouseConvert.class);

    ItemWarehouseDO convert(ItemWarehouseCreateReqVO bean);

    ItemWarehouseDO convert(ItemWarehouseUpdateReqVO bean);

    ItemWarehouseRespVO convert(ItemWarehouseDO bean);

    List<ItemWarehouseRespVO> convertList(List<ItemWarehouseDO> list);

    PageResult<ItemWarehouseRespVO> convertPage(PageResult<ItemWarehouseDO> page);

    List<ItemWarehouseExcelVO> convertList02(List<ItemWarehouseDO> list);

}
